package com.znjc.device.modbus.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "moudbus")
@Data
public class MoudbusTypeConfig {
    /**
     * #0rtu 1tcp
     */
    private int type;
}
